/**
 * Coryright 2015-2020 www.eyaomall.cn
 * All rights reserved.
 * @author tumingjun
 * @date 2016年8月11日
 *
 */

package com.eyaomall.wxmanage.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.eyaomall.wxmanage.dao.ShopExtDao;
import com.eyaomall.wxmanage.model.vo.ShopExtVO;
import com.eyaomall.wxmanage.service.ShopExtService;

/**
 * @author tumingjun
 *
 */
@Service
public class ShopExtServiceImpl implements ShopExtService{

	@Autowired
	private ShopExtDao shopExtDao;
	
	/**
	 * 开通代理
	 */
	public boolean openChild(ShopExtVO shopExtVO) {
		
		return shopExtDao.openChild(shopExtVO);
	}

	/**
	 * 增加代理数
	 */
	public boolean addChild(ShopExtVO shopExtVO) {
		
		return shopExtDao.addChild(shopExtVO);
	}

}
